home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2000 November / Maximum CD 2000 Nov.iso / AofE-Conquerers / age2xtrial.exe / CABFILE / MSGAME.CAB / Data / gamedata_x1.drs / Unnamed File 000008.bina < prev    next >
Text File  |  2000-07-18  |  3KB  |  143 lines

  1. ;goal 2 NO = no problem; 2 YES = we've won at sea!
  2.  
  3. ; transport-ships
  4. (defrule
  5.     (military-population > 10)
  6.     (unit-type-count-total transport-ship < 2)
  7.     (can-train transport-ship)
  8. =>
  9.     (train transport-ship)
  10. )
  11.  
  12. ;********************************************
  13. ;CANNON GALLEONS
  14. (defrule
  15.     (goal make-warboat YES)
  16.     (difficulty <= hard)
  17.     (unit-type-count cannon-galleon-line < five-percent-pop)
  18.     (can-train cannon-galleon-line)
  19.     (or
  20.         (goal 2 YES)
  21.         (warboat-count > ten-percent-pop)
  22.     )
  23. =>
  24.     (train cannon-galleon-line)
  25. )
  26.  
  27. (defrule
  28.     (goal make-warboat YES)
  29.     (can-train-with-escrow cannon-galleon-line)
  30.     (difficulty <= hard)
  31.     (or
  32.         (unit-type-count cannon-galleon-line < five-percent-pop)
  33.         (and
  34.             (goal sea-owner YES)
  35.             (unit-type-count cannon-galleon-line < ten-percent-pop)
  36.         )
  37.     )
  38. =>
  39.     (release-escrow wood)
  40.     (release-escrow gold)
  41.     (train cannon-galleon-line)
  42. )
  43.  
  44. #load-if-defined VIKING-CIV
  45. ;LONGBOATS
  46. (defrule
  47.     (goal make-warboat YES)
  48.     (goal 2 0)
  49.     (can-train longboat-line)
  50.     (or
  51.         (warboat-count < fifteen-percent-pop)
  52.         (and
  53.             (goal sea-owner YES)
  54.             (warboat-count < thirty-percent-pop)
  55.         )
  56.     )
  57. =>
  58.     (train longboat-line)
  59.     (set-goal make-fire-boat YES)
  60. )
  61. #end-if
  62.  
  63. #load-if-defined KOREAN-CIV
  64. ;TURTLE SHIPS
  65. (defrule
  66.     (goal make-warboat YES)
  67.     (goal 2 0)
  68.     (can-train-with-escrow turtle-ship-line)
  69.     (or
  70.         (unit-type-count-total turtle-ship-line < 3)
  71.         (and
  72.             (goal sea-owner YES)
  73.             (unit-type-count-total turtle-ship-line < ten-percent-pop)
  74.         )
  75.     )
  76. =>
  77.     (release-escrow wood)
  78.     (release-escrow gold)
  79.     (train turtle-ship-line)
  80.     (set-goal make-fire-boat YES)
  81. )
  82. #end-if
  83.  
  84. ;DEMOLITION SHIPS    
  85. (defrule
  86.     (goal make-warboat YES)
  87.     (goal 2 0)
  88.     (warboat-count < five-percent-pop)
  89.     (unit-type-count-total demolition-ship-line == 0)
  90.     (can-train demolition-ship-line)
  91. =>
  92.     (train demolition-ship-line)
  93. )
  94.  
  95. ;fire-ships
  96. (defrule
  97.     (goal make-warboat YES)
  98.     (goal 2 0)
  99.     (can-train fire-ship-line)
  100.     (or
  101.         (civ-selected aztec)
  102.         (or
  103.             (civ-selected byzantine)
  104.             (goal make-fire-boat YES)
  105.         )
  106.     )
  107.     (or
  108.         (warboat-count < fifteen-percent-pop)
  109.         (and
  110.             (goal sea-owner YES)
  111.             (warboat-count < thirty-percent-pop)
  112.         )
  113.     )
  114. =>
  115.     (train fire-ship-line)
  116.     (set-goal make-fire-boat NO)
  117. )
  118.  
  119. ;galleys
  120. (defrule
  121.     (goal make-warboat YES)
  122.     (goal 2 0)
  123.     (can-train galley-line)
  124.     (nor 
  125.         (unit-available longboat-line)
  126.         (unit-available turtle-ship-line)
  127.     )
  128.     (nand
  129.         (civ-selected aztec)
  130.         (current-age == imperial-age)
  131.     )
  132.     (or
  133.         (warboat-count < fifteen-percent-pop)
  134.         (and
  135.             (goal sea-owner YES)
  136.             (warboat-count < thirty-percent-pop)
  137.         )
  138.     )
  139. =>
  140.     (train galley-line)
  141.     (set-goal make-fire-boat YES)
  142. )
  143.